package com.hanthink.system.domain.report;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hanthink.common.annotation.Excel;
import com.hanthink.common.core.domain.BaseEntity;

/**
 * -对象 Applyextension
 * 
 * @author lizhao
 * @date 2024-11-19
 */
public class Applyextension extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 设备代码 */
    @Excel(name = "设备代码")
    private String plineid;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String plinename;

    /** 申请日期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请日期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdatetime;

    /** 申请者 */
    @Excel(name = "申请者")
    private String creator;

    /** 延长原因 */
    @Excel(name = "延长原因")
    private String extensionreason;

    /** 延长时间 */
    @Excel(name = "延长时间")
    private String extensionhour;

    /** 审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审批时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approvaltime;

    /** 审批结果 */
    @Excel(name = "审批结果")
    private String approvalresult;

    /** 审批备注 */
    @Excel(name = "审批备注")
    private String approvalmemo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPlineid(String plineid)
    {
        this.plineid = plineid;
    }

    public String getPlineid()
    {
        return plineid;
    }
    public void setPlinename(String plinename)
    {
        this.plinename = plinename;
    }

    public String getPlinename()
    {
        return plinename;
    }
    public void setCreatedatetime(Date createdatetime) 
    {
        this.createdatetime = createdatetime;
    }

    public Date getCreatedatetime() 
    {
        return createdatetime;
    }
    public void setCreator(String creator)
    {
        this.creator = creator;
    }

    public String getCreator()
    {
        return creator;
    }
    public void setExtensionreason(String extensionreason) 
    {
        this.extensionreason = extensionreason;
    }

    public String getExtensionreason() 
    {
        return extensionreason;
    }
    public void setExtensionhour(String extensionhour) 
    {
        this.extensionhour = extensionhour;
    }

    public String getExtensionhour() 
    {
        return extensionhour;
    }
    public void setApprovaltime(Date approvaltime) 
    {
        this.approvaltime = approvaltime;
    }

    public Date getApprovaltime() 
    {
        return approvaltime;
    }
    public void setApprovalresult(String approvalresult) 
    {
        this.approvalresult = approvalresult;
    }

    public String getApprovalresult() 
    {
        return approvalresult;
    }
    public void setApprovalmemo(String approvalmemo) 
    {
        this.approvalmemo = approvalmemo;
    }

    public String getApprovalmemo() 
    {
        return approvalmemo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("plineid", getPlineid())
            .append("plinename", getPlinename())
            .append("createdatetime", getCreatedatetime())
            .append("creator", getCreator())
            .append("extensionreason", getExtensionreason())
            .append("extensionhour", getExtensionhour())
            .append("approvaltime", getApprovaltime())
            .append("approvalresult", getApprovalresult())
            .append("approvalmemo", getApprovalmemo())
            .toString();
    }
}
